import request from '@/utils/request'

export async function queryData({
  data = {},
  params = {},
  method = 'get',
  url = '',
  header = {},
}) {
  return request({
    url: `${url}`,
    method: `${method}`,
    data,
    params,
    header,
  })
}
